package io.github.wslxm.springbootplus2.file.properties;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 本地文件 配置类
 * @author wangsong
 * @date 2020/12/11 0011 17:10
 * @return
 * @version 1.0.1
 */
@Configuration
@ConfigurationProperties(prefix = "file.local")
@Data
@Slf4j
public class LocalProperties {
    /**
     * 文件保存根目录
     */
    private String path = "upload";
    /**
     * 文件访问地址
     */
    private String baseUrl = "http://127.0.0.1:9048";
}
